package com.example.study.dao;

import com.example.study.domain.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by gl on 2017/3/2.
 */
public interface UserRepository extends JpaRepository<User,String>{

    User findByName(String name);
}
